package com.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.core.vo.OperationLogVo;
import com.core.domain.OperationLogs;
import com.core.resp.PageResult;

public interface OperationLogService extends IService<OperationLogs> {
    /**
     * 保存操作日志
     *
     * @param operationLog 操作日志对象
     */
    boolean save(OperationLogs operationLog);

    /**
     * 分页查询操作日志
     *
     * @param pageSize 每页大小
     * @param pageNum 页码
     * @param query 查询条件
     * @return 分页结果
     */
    PageResult<OperationLogVo> selectPage(Long pageSize, Long pageNum, OperationLogs query);
} 